package com.web_bloks.content.client;

/**
 * 
 * @author Jean-Lou Dupont
 *
 */
public class Condition {

	public enum Code {
		NA, LOGIN_REQUIRED, ADMIN_REQUIRED
	}
	
	Code code = Code.NA;
	
	/*****************************************
	 * CONSTRUCTOR
	 *****************************************/
	protected Condition() {
	}
	/*****************************************
	 * CONFIGURATION
	 *****************************************/
	/*****************************************
	 * API
	 *****************************************/
	public void setCode(Condition.Code c) {
		this.code = c;
	}
	public Code getCode() {
		return this.code;
	}
	/*****************************************
	 * HELPERS
	 *****************************************/
	
}//END
